package com.alibaba.nacos.common.task.engine;


import com.alibaba.nacos.common.task.NacosTaskProcessor;

public interface NacosTaskExecuteEngine<T>
        extends Cloneable {

    void addTask(Object key, T task);

    void addProcessor(Object key,
                      NacosTaskProcessor processor);

    NacosTaskProcessor getProcessor(Object key);
}
